{% extends "base.html" %} {% block content %}
<div class="panel">
	<script type="text/javascript">
		var myCalendar;
		function doOnLoad() {
			myCalendar = new dhtmlXCalendarObject(["id_at_date"]);
			myCalendar.loadUserLanguage('cn');
		}
	</script>
	<h1>{% if '/admin/workday/create' in full_path %}创建{% else %}编辑{%endif%}工作日</h1>
	<div class="pageContent">
		<form action="" method="post">
		{% csrf_token %} {{ form.as_p }}
		<input name="submit" type="submit" value="确定"/>
		</form>
	</div>
</div>
{% endblock %}
